Font Metrics
data class FontMetrics(val ascender: Float, val descender: Float, val unitsPerEm: Float, val lineGap: Float, val capHeight: Float, val xHeight: Float, val underlineOffset: Float, val underlineSize: Float, val strikeoutOffset: Float, val strikeoutSize: Float)
Font metrics extracted from a font file. Values are in the font's design units coordinate space.
Constructors
Properties
Link copied to clipboard
The OS/2 yStrikeoutPosition value in font design units.
Link copied to clipboard
The OS/2 yStrikeoutSize value in font design units.
Link copied to clipboard
The post.underlinePosition value in font design units (typically negative). A missing or zero value defaults to -1/18 em, rounded toward zero.
Link copied to clipboard
The post.underlineThickness value in font design units. A missing or zero value defaults to 1/18 em, rounded toward zero.
Link copied to clipboard
The number of units per em square (typically 1000 or 2048).